<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template basic_formatting_ostream</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Log v2">
<link rel="up" href="../../utilities.html#header.boost.log.utility.formatting_ostream_hpp" title="Header &lt;boost/log/utility/formatting_ostream.hpp&gt;">
<link rel="prev" href="../../BOOST_LOG_MAX_EXC_idm35131.html" title="Macro BOOST_LOG_MAX_EXCEPTION_TYPES">
<link rel="next" href="basic_formatting_ostream/sentry.html" title="Class sentry">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../BOOST_LOG_MAX_EXC_idm35131.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.formatting_ostream_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="basic_formatting_ostream/sentry.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.log.basic_formatting_ostream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template basic_formatting_ostream</span></h2>
<p>boost::log::basic_formatting_ostream — Stream for log records formatting. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../utilities.html#header.boost.log.utility.formatting_ostream_hpp" title="Header &lt;boost/log/utility/formatting_ostream.hpp&gt;">boost/log/utility/formatting_ostream.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> TraitsT<span class="special">,</span> <span class="keyword">typename</span> AllocatorT<span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">CharT</span>                                        <a name="boost.log.basic_formatting_ostream.char_type"></a><span class="identifier">char_type</span><span class="special">;</span>       <span class="comment">// Character type. </span>
  <span class="keyword">typedef</span> <span class="identifier">TraitsT</span>                                      <a name="boost.log.basic_formatting_ostream.traits_type"></a><span class="identifier">traits_type</span><span class="special">;</span>     <span class="comment">// Character traits. </span>
  <span class="keyword">typedef</span> <span class="identifier">AllocatorT</span>                                   <a name="boost.log.basic_formatting_ostream.allocator_type"></a><span class="identifier">allocator_type</span><span class="special">;</span>  <span class="comment">// Memory allocator. </span>
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                  <a name="boost.log.basic_formatting_ostream.streambuf_type"></a><span class="identifier">streambuf_type</span><span class="special">;</span>  <span class="comment">// Stream buffer type. </span>
  <span class="keyword">typedef</span> <span class="identifier">streambuf_type</span><span class="special">::</span><span class="identifier">string_type</span>                  <a name="boost.log.basic_formatting_ostream.string_type"></a><span class="identifier">string_type</span><span class="special">;</span>     <span class="comment">// Target string type. </span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <a name="boost.log.basic_formatting_ostream.ostream_type"></a><span class="identifier">ostream_type</span><span class="special">;</span>    <span class="comment">// Stream type. </span>
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">pos_type</span>                       <a name="boost.log.basic_formatting_ostream.pos_type"></a><span class="identifier">pos_type</span><span class="special">;</span>        <span class="comment">// Stream position type. </span>
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">off_type</span>                       <a name="boost.log.basic_formatting_ostream.off_type"></a><span class="identifier">off_type</span><span class="special">;</span>        <span class="comment">// Stream offset type. </span>
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">int_type</span>                       <a name="boost.log.basic_formatting_ostream.int_type"></a><span class="identifier">int_type</span><span class="special">;</span>        <span class="comment">// Integer type for characters. </span>
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">failure</span>                        <a name="boost.log.basic_formatting_ostream.failure"></a><span class="identifier">failure</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">fmtflags</span>                       <a name="boost.log.basic_formatting_ostream.fmtflags"></a><span class="identifier">fmtflags</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">iostate</span>                        <a name="boost.log.basic_formatting_ostream.iostate"></a><span class="identifier">iostate</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">openmode</span>                       <a name="boost.log.basic_formatting_ostream.openmode"></a><span class="identifier">openmode</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">seekdir</span>                        <a name="boost.log.basic_formatting_ostream.seekdir"></a><span class="identifier">seekdir</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">Init</span>                           <a name="boost.log.basic_formatting_ostream.Init"></a><span class="identifier">Init</span><span class="special">;</span>          
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">event</span>                          <a name="boost.log.basic_formatting_ostream.event"></a><span class="identifier">event</span><span class="special">;</span>         
  <span class="keyword">typedef</span> <span class="identifier">ostream_type</span><span class="special">::</span><span class="identifier">event_callback</span>                 <a name="boost.log.basic_formatting_ostream.event_callback"></a><span class="identifier">event_callback</span><span class="special">;</span>

  <span class="comment">// member classes/structs/unions</span>

  <span class="keyword">class</span> <a class="link" href="basic_formatting_ostream/sentry.html" title="Class sentry">sentry</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">sentry</span> <span class="special">{</span>
  <span class="keyword">public</span><span class="special">:</span>
    <span class="comment">// <a class="link" href="basic_formatting_ostream/sentry.html#boost.log.basic_formatting_ostream.sentryconstruct-copy-destruct">construct/copy/destruct</a></span>
    <span class="keyword">explicit</span> <a class="link" href="basic_formatting_ostream/sentry.html#idm35180-bb"><span class="identifier">sentry</span></a><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <a class="link" href="basic_formatting_ostream/sentry.html#idm35184-bb"><span class="identifier">sentry</span></a><span class="special">(</span><span class="identifier">sentry</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
    <span class="identifier">sentry</span> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream/sentry.html#idm35187-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="identifier">sentry</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>

    <span class="comment">// <a class="link" href="basic_formatting_ostream/sentry.html#idm35175-bb">public member functions</a></span>
    <span class="keyword">explicit</span> <a class="link" href="basic_formatting_ostream/sentry.html#idm35176-bb"><span class="keyword">operator</span> <span class="keyword">bool</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
    <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream/sentry.html#idm35178-bb"><span class="keyword">operator</span><span class="special">!</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="special">}</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_formatting_ostream.html#boost.log.basic_formatting_ostreamconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="basic_formatting_ostream.html#idm35624-bb"><span class="identifier">basic_formatting_ostream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="basic_formatting_ostream.html#idm35631-bb"><span class="identifier">basic_formatting_ostream</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html#idm35687-bb"><span class="identifier">basic_formatting_ostream</span></a><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
  <a class="link" href="basic_formatting_ostream.html#idm35692-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html#idm35642-bb"><span class="special">~</span><span class="identifier">basic_formatting_ostream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_formatting_ostream.html#idm35301-bb">public member functions</a></span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35302-bb"><span class="identifier">attach</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35311-bb"><span class="identifier">detach</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35315-bb"><span class="identifier">str</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">ostream_type</span> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35321-bb"><span class="identifier">stream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">ostream_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35327-bb"><span class="identifier">stream</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">fmtflags</span> <a class="link" href="basic_formatting_ostream.html#idm35333-bb"><span class="identifier">flags</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">fmtflags</span> <a class="link" href="basic_formatting_ostream.html#idm35335-bb"><span class="identifier">flags</span></a><span class="special">(</span><span class="identifier">fmtflags</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">fmtflags</span> <a class="link" href="basic_formatting_ostream.html#idm35339-bb"><span class="identifier">setf</span></a><span class="special">(</span><span class="identifier">fmtflags</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">fmtflags</span> <a class="link" href="basic_formatting_ostream.html#idm35343-bb"><span class="identifier">setf</span></a><span class="special">(</span><span class="identifier">fmtflags</span><span class="special">,</span> <span class="identifier">fmtflags</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35349-bb"><span class="identifier">unsetf</span></a><span class="special">(</span><span class="identifier">fmtflags</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a class="link" href="basic_formatting_ostream.html#idm35353-bb"><span class="identifier">precision</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a class="link" href="basic_formatting_ostream.html#idm35355-bb"><span class="identifier">precision</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a class="link" href="basic_formatting_ostream.html#idm35359-bb"><span class="identifier">width</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a class="link" href="basic_formatting_ostream.html#idm35361-bb"><span class="identifier">width</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <a class="link" href="basic_formatting_ostream.html#idm35365-bb"><span class="identifier">getloc</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <a class="link" href="basic_formatting_ostream.html#idm35367-bb"><span class="identifier">imbue</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">long</span> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35371-bb"><span class="identifier">iword</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <span class="special">*</span><span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35375-bb"><span class="identifier">pword</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35379-bb"><span class="identifier">register_callback</span></a><span class="special">(</span><span class="identifier">event_callback</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="basic_formatting_ostream.html#idm35385-bb"><span class="keyword">operator</span> <span class="keyword">bool</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35387-bb"><span class="keyword">operator</span><span class="special">!</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">iostate</span> <a class="link" href="basic_formatting_ostream.html#idm35389-bb"><span class="identifier">rdstate</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35391-bb"><span class="identifier">clear</span></a><span class="special">(</span><span class="identifier">iostate</span> <span class="special">=</span> <span class="identifier">goodbit</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35396-bb"><span class="identifier">setstate</span></a><span class="special">(</span><span class="identifier">iostate</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35400-bb"><span class="identifier">good</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35402-bb"><span class="identifier">eof</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35404-bb"><span class="identifier">fail</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35406-bb"><span class="identifier">bad</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">iostate</span> <a class="link" href="basic_formatting_ostream.html#idm35408-bb"><span class="identifier">exceptions</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35410-bb"><span class="identifier">exceptions</span></a><span class="special">(</span><span class="identifier">iostate</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">ostream_type</span> <span class="special">*</span> <a class="link" href="basic_formatting_ostream.html#idm35414-bb"><span class="identifier">tie</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">ostream_type</span> <span class="special">*</span> <a class="link" href="basic_formatting_ostream.html#idm35416-bb"><span class="identifier">tie</span></a><span class="special">(</span><span class="identifier">ostream_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">streambuf_type</span> <span class="special">*</span> <a class="link" href="basic_formatting_ostream.html#idm35420-bb"><span class="identifier">rdbuf</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
  <a class="link" href="basic_formatting_ostream.html#idm35422-bb"><span class="identifier">copyfmt</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ios</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35427-bb"><span class="identifier">copyfmt</span></a><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">char_type</span> <a class="link" href="basic_formatting_ostream.html#idm35433-bb"><span class="identifier">fill</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">char_type</span> <a class="link" href="basic_formatting_ostream.html#idm35435-bb"><span class="identifier">fill</span></a><span class="special">(</span><span class="identifier">char_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">char</span> <a class="link" href="basic_formatting_ostream.html#idm35439-bb"><span class="identifier">narrow</span></a><span class="special">(</span><span class="identifier">char_type</span><span class="special">,</span> <span class="keyword">char</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">char_type</span> <a class="link" href="basic_formatting_ostream.html#idm35445-bb"><span class="identifier">widen</span></a><span class="special">(</span><span class="keyword">char</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35449-bb"><span class="identifier">flush</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">pos_type</span> <a class="link" href="basic_formatting_ostream.html#idm35452-bb"><span class="identifier">tellp</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35454-bb"><span class="identifier">seekp</span></a><span class="special">(</span><span class="identifier">pos_type</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35459-bb"><span class="identifier">seekp</span></a><span class="special">(</span><span class="identifier">off_type</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ios_base</span><span class="special">::</span><span class="identifier">seekdir</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35466-bb"><span class="identifier">put</span></a><span class="special">(</span><span class="identifier">char_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="basic_formatting_ostream.html#idm35471-bb"><span class="identifier">put</span></a><span class="special">(</span><span class="identifier">OtherCharT</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35478-bb"><span class="identifier">write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="basic_formatting_ostream.html#idm35485-bb"><span class="identifier">write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35494-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="identifier">ios_base_manip</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35499-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="identifier">basic_ios_manip</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35504-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="identifier">stream_manip</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35509-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">char</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35514-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35519-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">wchar_t</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35524-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">wchar_t</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35529-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">char16_t</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35534-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char16_t</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35539-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">char32_t</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35544-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char32_t</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35549-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">bool</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35554-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">signed</span> <span class="keyword">char</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35559-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">char</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35564-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">short</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35569-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">short</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35574-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35579-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35584-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">long</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35589-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">long</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35594-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">long</span> <span class="keyword">long</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35599-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">long</span> <span class="keyword">long</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35604-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">float</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35609-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">double</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a class="link" href="basic_formatting_ostream.html#idm35614-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="keyword">long</span> <span class="keyword">double</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
  <a class="link" href="basic_formatting_ostream.html#idm35619-bb"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_streambuf</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_formatting_ostream.html#idm35645-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="keyword">int</span> <a class="link" href="basic_formatting_ostream.html#idm35646-bb"><span class="identifier">xalloc</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">bool</span> <a class="link" href="basic_formatting_ostream.html#idm35648-bb"><span class="identifier">sync_with_stdio</span></a><span class="special">(</span><span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_formatting_ostream.html#idm35653-bb">protected member functions</a></span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35654-bb"><span class="identifier">init_stream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_formatting_ostream.html#idm35656-bb">private member functions</a></span>
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
  <a class="link" href="basic_formatting_ostream.html#idm35657-bb"><span class="identifier">formatted_write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
    <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
    <a class="link" href="basic_formatting_ostream.html#idm35664-bb"><span class="identifier">formatted_write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35673-bb"><span class="identifier">aligned_write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_formatting_ostream.html#idm35679-bb"><span class="identifier">aligned_write</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">boolalpha</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">dec</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">fixed</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">hex</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">internal</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">left</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">oct</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">right</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">scientific</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">showbase</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">showpoint</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">skipws</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">unitbuf</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">uppercase</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">adjustfield</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">basefield</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">fmtflags</span> <span class="identifier">floatfield</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">iostate</span> <span class="identifier">badbit</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">iostate</span> <span class="identifier">eofbit</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">iostate</span> <span class="identifier">failbit</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">iostate</span> <span class="identifier">goodbit</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">app</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">ate</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">binary</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">in</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">out</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">openmode</span> <span class="identifier">trunc</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">seekdir</span> <span class="identifier">beg</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">seekdir</span> <span class="identifier">cur</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">seekdir</span> <span class="identifier">end</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">event</span> <span class="identifier">erase_event</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">event</span> <span class="identifier">imbue_event</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="identifier">event</span> <span class="identifier">copyfmt_event</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm75869"></a><h2>Description</h2>
<p>Stream wrapper for log records formatting.</p>
<p>This stream wrapper is used by the library for log record formatting. It implements the standard string stream interface with a few differences:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>It does not derive from standard types <code class="computeroutput">std::basic_ostream</code>, <code class="computeroutput">std::basic_ios</code> and <code class="computeroutput">std::ios_base</code>, although it tries to implement their interfaces closely. There are a few small differences, mostly regarding <code class="computeroutput">rdbuf</code> and <code class="computeroutput">str</code> signatures, as well as the supported insertion operator overloads. The actual wrapped stream can be accessed through the <code class="computeroutput">stream</code> methods. </p></li>
<li class="listitem"><p>By default, <code class="computeroutput">bool</code> values are formatted using alphabetical representation rather than numeric. </p></li>
<li class="listitem"><p>The stream supports writing strings of character types different from the stream character type. The stream will perform character code conversion as needed using the imbued locale. </p></li>
<li class="listitem"><p>The stream operates on an external string object rather than on the embedded one. The string can be attached or detached from the stream dynamically.</p></li>
</ul></div>
<p>
Although <code class="computeroutput"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a></code> does not derive from <code class="computeroutput">std::basic_ostream</code>, users are not required to add special overloads of <code class="computeroutput">operator&lt;&lt;</code> for it since the stream will by default reuse the operators for <code class="computeroutput">std::basic_ostream</code>. However, one can define special overloads of <code class="computeroutput">operator&lt;&lt;</code> for <code class="computeroutput"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a></code> if a certain type needs special formatting when output to log. </p>
<div class="refsect2">
<a name="idm75898"></a><h3>
<a name="boost.log.basic_formatting_ostreamconstruct-copy-destruct"></a><code class="computeroutput">basic_formatting_ostream</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="idm35624-bb"></a><span class="identifier">basic_formatting_ostream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Default constructor. Creates an empty record that is equivalent to the invalid record handle. The stream capability is not available after construction.</p>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Postconditions:</span></p></td>
<td><p><code class="computeroutput">!*this == true</code> </p></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">explicit</span> <a name="idm35631-bb"></a><span class="identifier">basic_formatting_ostream</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;</span> str<span class="special">)</span><span class="special">;</span></pre>
<p>Initializing constructor. Attaches the string to the constructed stream. The string will be used to store the formatted characters.</p>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">str</code></span></p></td>
<td><p>The string buffer to attach. </p></td>
</tr></tbody>
</table></div></td>
</tr>
<tr>
<td><p><span class="term">Postconditions:</span></p></td>
<td><p><code class="computeroutput">!*this == false</code> </p></td>
</tr>
</tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><a name="idm35687-bb"></a><span class="identifier">basic_formatting_ostream</span><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="keyword">const</span> <span class="special">&amp;</span> that<span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Copy constructor (closed) </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
<a name="idm35692-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="keyword">const</span> <span class="special">&amp;</span> that<span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Assignment (closed) </li>
<li class="listitem">
<pre class="literallayout"><a name="idm35642-bb"></a><span class="special">~</span><span class="identifier">basic_formatting_ostream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Destructor. Destroys the record, releases any sinks and attribute values that were involved in processing this record. </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm75986"></a><h3>
<a name="idm35301-bb"></a><code class="computeroutput">basic_formatting_ostream</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idm35302-bb"></a><span class="identifier">attach</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;</span> str<span class="special">)</span><span class="special">;</span></pre>
<p>Attaches the stream to the string. The string will be used to store the formatted characters.</p>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">str</code></span></p></td>
<td><p>The string buffer to attach. </p></td>
</tr></tbody>
</table></div></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idm35311-bb"></a><span class="identifier">detach</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Detaches the stream from the string. Any buffered data is flushed to the string. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a name="idm35315-bb"></a><span class="identifier">str</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Returns:</span></p></td>
<td><p>Reference to the attached string. The string must be attached before calling this method. </p></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">ostream_type</span> <span class="special">&amp;</span> <a name="idm35321-bb"></a><span class="identifier">stream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Returns:</span></p></td>
<td><p>Reference to the wrapped stream </p></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">ostream_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <a name="idm35327-bb"></a><span class="identifier">stream</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">Returns:</span></p></td>
<td><p>Reference to the wrapped stream </p></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">fmtflags</span> <a name="idm35333-bb"></a><span class="identifier">flags</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">fmtflags</span> <a name="idm35335-bb"></a><span class="identifier">flags</span><span class="special">(</span><span class="identifier">fmtflags</span> f<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">fmtflags</span> <a name="idm35339-bb"></a><span class="identifier">setf</span><span class="special">(</span><span class="identifier">fmtflags</span> f<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">fmtflags</span> <a name="idm35343-bb"></a><span class="identifier">setf</span><span class="special">(</span><span class="identifier">fmtflags</span> f<span class="special">,</span> <span class="identifier">fmtflags</span> mask<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35349-bb"></a><span class="identifier">unsetf</span><span class="special">(</span><span class="identifier">fmtflags</span> f<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a name="idm35353-bb"></a><span class="identifier">precision</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a name="idm35355-bb"></a><span class="identifier">precision</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a name="idm35359-bb"></a><span class="identifier">width</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> <a name="idm35361-bb"></a><span class="identifier">width</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> w<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <a name="idm35365-bb"></a><span class="identifier">getloc</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <a name="idm35367-bb"></a><span class="identifier">imbue</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="keyword">const</span> <span class="special">&amp;</span> loc<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">long</span> <span class="special">&amp;</span> <a name="idm35371-bb"></a><span class="identifier">iword</span><span class="special">(</span><span class="keyword">int</span> index<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <span class="special">*</span><span class="special">&amp;</span> <a name="idm35375-bb"></a><span class="identifier">pword</span><span class="special">(</span><span class="keyword">int</span> index<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35379-bb"></a><span class="identifier">register_callback</span><span class="special">(</span><span class="identifier">event_callback</span> fn<span class="special">,</span> <span class="keyword">int</span> index<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="idm35385-bb"></a><span class="keyword">operator</span> <span class="keyword">bool</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm35387-bb"></a><span class="keyword">operator</span><span class="special">!</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iostate</span> <a name="idm35389-bb"></a><span class="identifier">rdstate</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35391-bb"></a><span class="identifier">clear</span><span class="special">(</span><span class="identifier">iostate</span> state <span class="special">=</span> <span class="identifier">goodbit</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35396-bb"></a><span class="identifier">setstate</span><span class="special">(</span><span class="identifier">iostate</span> state<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm35400-bb"></a><span class="identifier">good</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm35402-bb"></a><span class="identifier">eof</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm35404-bb"></a><span class="identifier">fail</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm35406-bb"></a><span class="identifier">bad</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">iostate</span> <a name="idm35408-bb"></a><span class="identifier">exceptions</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35410-bb"></a><span class="identifier">exceptions</span><span class="special">(</span><span class="identifier">iostate</span> s<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">ostream_type</span> <span class="special">*</span> <a name="idm35414-bb"></a><span class="identifier">tie</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">ostream_type</span> <span class="special">*</span> <a name="idm35416-bb"></a><span class="identifier">tie</span><span class="special">(</span><span class="identifier">ostream_type</span> <span class="special">*</span> strm<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">streambuf_type</span> <span class="special">*</span> <a name="idm35420-bb"></a><span class="identifier">rdbuf</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
<a name="idm35422-bb"></a><span class="identifier">copyfmt</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ios</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35427-bb"></a><span class="identifier">copyfmt</span><span class="special">(</span><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">char_type</span> <a name="idm35433-bb"></a><span class="identifier">fill</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">char_type</span> <a name="idm35435-bb"></a><span class="identifier">fill</span><span class="special">(</span><span class="identifier">char_type</span> ch<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">char</span> <a name="idm35439-bb"></a><span class="identifier">narrow</span><span class="special">(</span><span class="identifier">char_type</span> ch<span class="special">,</span> <span class="keyword">char</span> def<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">char_type</span> <a name="idm35445-bb"></a><span class="identifier">widen</span><span class="special">(</span><span class="keyword">char</span> ch<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35449-bb"></a><span class="identifier">flush</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">pos_type</span> <a name="idm35452-bb"></a><span class="identifier">tellp</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35454-bb"></a><span class="identifier">seekp</span><span class="special">(</span><span class="identifier">pos_type</span> pos<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35459-bb"></a><span class="identifier">seekp</span><span class="special">(</span><span class="identifier">off_type</span> off<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ios_base</span><span class="special">::</span><span class="identifier">seekdir</span> dir<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35466-bb"></a><span class="identifier">put</span><span class="special">(</span><span class="identifier">char_type</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="idm35471-bb"></a><span class="identifier">put</span><span class="special">(</span><span class="identifier">OtherCharT</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35478-bb"></a><span class="identifier">write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
  <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="idm35485-bb"></a><span class="identifier">write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35494-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="identifier">ios_base_manip</span> manip<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35499-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="identifier">basic_ios_manip</span> manip<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35504-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="identifier">stream_manip</span> manip<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35509-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">char</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35514-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35519-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">wchar_t</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35524-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">wchar_t</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35529-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">char16_t</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35534-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char16_t</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35539-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">char32_t</span> c<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35544-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char32_t</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35549-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">bool</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35554-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">signed</span> <span class="keyword">char</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35559-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">char</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35564-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">short</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35569-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">short</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35574-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">int</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35579-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35584-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">long</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35589-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">long</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35594-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">long</span> <span class="keyword">long</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35599-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">long</span> <span class="keyword">long</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35604-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">float</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35609-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">double</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> <a name="idm35614-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="keyword">long</span> <span class="keyword">double</span> value<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
<a name="idm35619-bb"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_streambuf</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <span class="special">*</span> buf<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm76914"></a><h3>
<a name="idm35645-bb"></a><code class="computeroutput">basic_formatting_ostream</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">int</span> <a name="idm35646-bb"></a><span class="identifier">xalloc</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">bool</span> <a name="idm35648-bb"></a><span class="identifier">sync_with_stdio</span><span class="special">(</span><span class="keyword">bool</span> sync <span class="special">=</span> <span class="keyword">true</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm76942"></a><h3>
<a name="idm35653-bb"></a><code class="computeroutput">basic_formatting_ostream</code> protected member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35654-bb"></a><span class="identifier">init_stream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
<div class="refsect2">
<a name="idm76956"></a><h3>
<a name="idm35656-bb"></a><code class="computeroutput">basic_formatting_ostream</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
<a name="idm35657-bb"></a><span class="identifier">formatted_write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
  <a class="link" href="basic_formatting_ostream.html" title="Class template basic_formatting_ostream">basic_formatting_ostream</a> <span class="special">&amp;</span> 
  <a name="idm35664-bb"></a><span class="identifier">formatted_write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm35673-bb"></a><span class="identifier">aligned_write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OtherCharT<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm35679-bb"></a><span class="identifier">aligned_write</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">OtherCharT</span> <span class="special">*</span> p<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">streamsize</span> size<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2007-2024 Andrey Semashev<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../BOOST_LOG_MAX_EXC_idm35131.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.formatting_ostream_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="basic_formatting_ostream/sentry.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
